import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const routes:Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'Index',
    component: () => import('@views/Index.vue')
  },
  {
    path: '/html',
    name: 'Html',
    component: () => import('@views/Html.vue')
  },
  {
    path: '/css',
    name: 'Css',
    component: () => import('@views/Css.vue')
  },
  {
    path: '/javascript',
    name: 'JavaScript',
    component: () => import('@views/JavaScript.vue')
  },
  {
    path: '/about',
    name: 'About',
    component: () => import('@views/About.vue')
  },
  {
    path: '/help',
    name: 'Help',
    component: () => import('@views/Help.vue')
  }
]


export default createRouter({
  history: createWebHistory(),
  routes
})
